package com.longlong.mapper;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.longlong.entity.RegistrationForm;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RegistrationFormMapper extends BaseMapper<RegistrationForm> {



    IPage<RegistrationForm> selectUserPage(@Param("page") IPage<RegistrationForm> page,
                                           @Param(Constants.WRAPPER) Wrapper<RegistrationForm> wrapper);


    List<Object> selectMyCompetitionList(@Param(Constants.WRAPPER) Wrapper<RegistrationForm> wrapper);


}
